FILES = do_four.py    grid.py    polygon.py \
Wanderer.py Highway.py color_list.py    spiral.py \
lumpy_diag05.py color_space.py koch.py snowflake.py \
pi.py    words.txt  emma.txt birthday.py  wordlist.py reverse_pair.py  \
interlock.py  rotate.py  rotate_pairs.py  structshape.py \
anagram_sets.py  metathesis.py  reducible.py \
analyze_book.py analyze_book2.py analyze_book3.py markov.py Markov.py \
cartalk1.py  cartalk2.py  cartalk3.py  walk.py zip_code.py \
sed.py  anagram_db.py find_duplicates.py invert_dict.py \
Map.py has_duplicates.py unstable_sort.py most_frequent.py \
button_demo.py  draggable_demo.py   pack_demo.py \
canvas_demo.py  image_demo.py       pil_demo.py \
circle_demo.py  menubutton_demo.py  widget_demo.py \
remote_object.py   MathServer.py    MathClient.py \
thread.py   Subject.py   Observer.py   Modifier.py \
Popup.py   PopupDemo.py   PopupServer.py   PopupClient.py \
Threader.py   Threader_soln.py   Card.py   PokerHand.py \
PokerHandSoln.py Tagger.py \
lumpy_demo1.py lumpy_demo2.py lumpy_demo3.py lumpy_demo4.py \
lumpy_demo5.py lumpy_demo6.py lumpy_demo7.py lumpy_demo8.py \
Shape.py   Poker.py   PokerExam.py \
flower.py   letters.py   typewriter.py   pie.py \
Time1.py   Time1_soln.py   stack_diagram.py  \
Time2.py   Time2_soln.py   palindrome_soln.py \
Point1.py   Point1_soln.py SimpleTurtleWorld.py \
ackermann.py    ackermann_memo.py   inlist.py  zipf.py \
pronounce.py  homophone.py


DOCS = remote_object.html

DEST = /home/downey/public_html/greent/thinkpython/code

code:
	rsync -a $(FILES) $(DEST)
	rsync -a $(DOCS) $(DEST)
	chmod -R o+r $(DEST)/*
	cd /home/downey/public_html/greent; sh back

docs:
	pydoc -w remote_object

FIGS = lumpydemo1.pdf lumpydemo2.pdf lumpydemo3.pdf lumpydemo4.pdf \
lumpydemo5.pdf lumpydemo6.pdf lumpydemo7.pdf lumpydemo8.pdf \
lumpydemo1.eps lumpydemo2.eps lumpydemo3.eps lumpydemo4.eps \
lumpydemo5.eps lumpydemo6.eps lumpydemo7.eps lumpydemo8.eps

FIG_DEST = /home/downey/thinkpython/trunk/figs

figs:
	rsync -a $(FIGS) $(FIG_DEST)
